<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
  <%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<script type="text/javascript">
function getNumber()
{
	window.open("/AddSO/child.htm");
}
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<form:form action="saveSO.htm" method="post" commandName="sales">
<table>
<tr>
<td>Customer Id</td>
<td>Bill To Id</td>
<td>Ship To Id</td>
<td>Customer PO</td>
<td>Customer Contact</td>
</tr>
<tr>

<td><form:input path="customerId"/><input type="button" name="Go" value="Go" onclick="return getNumber()"/></td> 

<td><form:input path="shipToId"/><input type="button" name="Go" value="Go" onclick="return getNumber()"/></td>

<td><form:input path="billToId"/><input type="button" name="Go" value="Go" onclick="return getNumber()"/></td>

<td><form:input path="customerPo"/></td>
<td><form:input path="contact"/></td>
</tr>
<tr>
<td>
<input type="hidden" name="action" value="Save"/>
<input type="submit" name="save" value="Save"/>
</td>
</tr>
</table>
</form:form>
</body>
</html>